import Detatil3 from '../assets/png/detatil-3.jpg'
import Detatil4 from '../assets/png/detatil-4.jpg'

// 文章详情
export const mockDetailData = [
  {
    id: 1,
    title: 'Introduction of the Future of Payment Networks & Onta Network',
    parentTitle: 'Introduction of the Future of Payment Networks & Onta Network',
    dummyText: 'Dummy Text',
    desc: 'Bridging Traditional Commerce with the Onchain Economy',
    time: '15:37, 13th May 2025',
    featured: 'Featured',
    content: `<p>Payment Finance represents a revolutionary convergence of traditional payment systems with blockchain technology and onchain financing. As this innovative financial paradigm gains momentum, Onta Network stands at the forefront to provide the essential infrastructure that bridges traditional commerce with the expanding onchain economy.
    </p>
    <p>PayFi fundamentally transforms how value flows between businesses and consumers by integrating the security and efficiency of blockchain with everyday financial transactions. By leveraging technologies like tokenization and smart contracts, PayFi enables businesses to unlock liquidity, streamline payment flows, and access near-instant financing opportunities beyond the Web2 world. Onta Network’s infrastructure serves as the critical connection point where traditional payment networks meet blockchain technology, creating seamless pathways for businesses to tap into the growing population of over 200 million crypto users worldwide.
    </p>
    <p>What sets Onta Network apart in the PayFi ecosystem is its practical and compliant approach to implementation. While blockchain technology offers tremendous theoretical advantages, Onta Network has focused on developing infrastructure that maintains the simplicity of existing payment workflows while adding the benefits of blockchain integration. This means businesses can adopt Onta Network's product without disrupting their operations or requiring specialized technical knowledge.
</p>
    <p>Powered by Solana's high-performance blockchain, Onta Network delivers the speed, security, and cost-efficiency necessary for mainstream PayFi adoption. The synergy between Onta Network's innovative payment infrastructure and Solana's blockchain capabilities creates a powerful foundation for any businesses to enter the onchain economy.
</p>
    <p>As we envision, "a world where every business, regardless of size or location, can seamlessly access the expanding digital economy and serve billions of customers across traditional and cryptocurrency payment networks without barriers" is now becoming reality as we move forward. By removing the complexity of cryptocurrency acceptance, Onta Network is democratizing access to the benefits of blockchain technology for merchants worldwide.
</p>
    <p>The future of commerce lies at this intersection of traditional finance and blockchain innovation—and Onta Network is building the bridges that will take us all there.
</p>
    `
  },

  {
    id: 2,
    title: 'Onta Network Connects Blockchain with the Real World',
    parentTitle: 'Onta Network Connects Blockchain with the Real World',
    dummyText: 'Dummy Text',
    desc: 'Transforming Commerce Through Onchain Infrastructure',
    time: '15:37, 13th May 2025',
    featured: 'Featured',
    content: `<p>The global economy stands at a pivotal crossroads where traditional commerce and blockchain technology are no longer separate domains but increasingly interconnected ecosystems. Onta Network has positioned itself as the essential infrastructure connecting these worlds, turning the theoretical promise of blockchain into practical business solutions for the real economy.
</p>
    <p>As we envision a world where every business can seamlessly access the expanding digital economy and serve billions of customers across traditional and cryptocurrency payment networks without barriers, we strive to provide the infrastrcuture and product that removes the technical complexities and regulatory uncertainties.
</p>
    <p>Onta Network enables businesses to compliantly tap into the onchain economy while maintaining the simplicity of merchants’ existing payment workflows. This practical approach addresses the core challenges that have historically prevented traditional commerce from embracing blockchain technology.
</p>
    <p>The onchain economy represents more than just an alternative payment method—it embodies a fundamental shift in how value moves throughout the global economy. Transactions that once required days to settle now complete in seconds; financing that was inaccessible to small businesses becomes readily available; and global commerce operates without the friction of currency exchange or banking intermediaries.
</p>
    <p>For businesses to remain competitive in this rapidly evolving landscape, adaptation isn't optional—it's imperative. The world is witnessing an accelerating transition toward digital assets, decentralized finance, and blockchain-powered commerce. Companies that leverage infrastructure like Onta Network gain significant advantages: enhanced liquidity through asset tokenization, near-instant settlement capabilities, improved capital efficiency, and access to entirely new customer segments.
</p>
    <p>Onta Network is here to empower businesses to expand their customer base globally by providing a secure, accessible payment infrastructure that bridges traditional commerce with the onchain economy. Our mission statement reflects our pragmatic understanding that blockchain adoption must deliver tangible business value, not just technological novelty.
</p>
    <p>As traditional finance continues converging with blockchain technology, Onta Network stands ready with the infrastructure necessary to navigate this transition. The future belongs to businesses that can seamlessly operate across both worlds—and Onta Network is building the bridge that makes this possible.
</p>
    `
  },
  {
    id: 3,
    title: 'Revolutionizing Financial Oversight: The Rise of Onchain Compliance',
    parentTitle: 'Revolutionizing Financial Oversight: The Rise of Onchain Compliance',
    dummyText: 'Dummy Text',
    desc: 'In the rapidly evolving landscape of digital assets and blockchain technology, a new paradigm of regulatory compliance is emerging that promises to fundamentally transform how businesses interact with cryptocurrency. Known as "onchain compliance," this innovative approach integrates regulatory requirements directly into blockchain infrastructure rather than applying them as an afterthought.',
    time: '15:37, 13th May 2025',
    featured: 'Featured',
    content: `<b>The Architecture of Onchain Compliance at Onta Network
</b>
    <p>Onta Network's onchain compliance layer represents a comprehensive architecture that handles regulatory requirements without compromising transaction efficiency or user privacy. This system operates through several interconnected components:
    </p>
<img src="${Detatil3}" />
    <p>1. Risk Control Data Flow: Rather than exposing private information publicly, Onta Network implements a sophisticated risk control system that separates transaction data from compliance verification. This two-tier approach preserves privacy while ensuring regulatory adherence.
</p>
    <p>2. KYT Service and Bridging: The Know-Your-Transaction (KYT) service acts as a critical verification layer that confirms transaction legitimacy without exposing sensitive user information.
    </p>
<p>3. Onchain Guardian Account: This component serves as the compliance oversight mechanism, monitoring transactions for suspicious activity without requiring access to personal identification details.
</p>
<p>4. Risk Controller: The system implements an onchain risk controller that automatically evaluates transactions against regulatory requirements, flagging potential issues while allowing legitimate transactions to proceed seamlessly.
</p>
<p>5. KYC & Zero-Knowledge Proof (ZKP) Verification: Onta Network employs advanced cryptographic techniques that enable compliance verification without exposing underlying data, preserving user privacy while satisfying regulatory requirements.
</p>
<b>Balancing Privacy and Regulatory Requirements</b>
<p>The conflict between privacy and compliance has been particularly acute in blockchain environments. As noted in research from Own Protocol, "the current regulatory methods, which rely on financial intermediaries and blockchain analysis based on the unchangeable and transparent nature of the blockchain, will face limitations in this evolving ecosystem."
</p>
    <p>Onta Network's onchain compliance infrastructure addresses this challenge by creating what experts describe as "windows of selective visibility while defaulting to robust privacy protection." This approach mirrors traditional finance where transaction details are visible only to authorized parties under specific circumstances, while remaining private to the general public.
    </p>
    <p>Unlike traditional blockchain analytics that rely on the public nature of distributed ledgers, onchain compliance operates through programmatic policies that enforce regulatory requirements without compromising confidentiality. This represents a significant advancement that could bring cryptocurrency transactions to parity with traditional finance from a privacy perspective.
</p>
<b>Onta Network Strives for Onchain Compliance
</b>
<p>Onta Network's onchain compliance layer represents a significant advancement in how businesses can engage with digital assets while maintaining regulatory compliance. By embedding compliance directly into cryptocurrency transactions rather than applying it as an external wrapper, Onta Network is creating infrastructure that maintains the core benefits of blockchain technology while satisfying regulatory requirements.
</p><p>This approach doesn't merely connect traditional compliance with blockchain technology—it reinvents compliance for the digital age, creating a foundation that can support the mainstream adoption of digital assets across global commerce. As the digital economy continues its rapid expansion, onchain compliance infrastructure will likely become an essential component for businesses seeking to bridge traditional commerce with blockchain technology in a regulatory-compliant manner.
</p>
`
  },
  {
    id: 4,
    title:
      "Onta Network's Transaction Layer: Engineering the Backbone of Commerce in Crypto and Beyond",
    parentTitle:
      "Onta Network's Transaction Layer: Engineering the Backbone of Commerce in Crypto and Beyond",
    dummyText: 'Dummy Text',
    desc: `At the intersection of traditional commerce and the expanding onchain economy lies a technological innovation that's redefining how businesses interact with blockchain technology: Onta Network's purpose-built transaction layer. This sophisticated infrastructure represents a quantum leap in blockchain transaction processing, delivering enterprise-grade performance while maintaining the security guarantees essential for financial operations.
`,
    time: '15:37, 13th May 2025',
    featured: 'Featured',
    content: `<b>Architecture Designed for Commercial Reality</b>
    <p>Onta Network's transaction layer has been engineered from the ground up with a singular focus: delivering the performance, reliability, and functionality needed for mainstream commercial adoption. Unlike general-purpose blockchain solutions that sacrifice specialized functionality for broader applicability, Onta Network's transaction layer implements a purpose-built architecture optimized specifically for payment operations.
</p>
    <p>The system's core components work in concert to create a seamless transaction flow:
</p>
<img src="${Detatil4}" />

    <p>1. Transaction Scheduler: This component intelligently manages concurrent transaction processing, optimizing throughput without compromising transaction integrity. By efficiently prioritizing and batching transactions, the scheduler maximizes the network's capacity while maintaining predictable performance.
</p>
    <p>2. Highspeed Execution Contract: At the heart of the transaction layer, this specialized smart contract enables sub-second finality—a critical requirement for commercial applications where transaction confirmation delays create unacceptable friction. This blazing-fast finality ensures merchants receive immediate confirmation of payments, eliminating the uncertainty that has historically plagued blockchain transactions.
    </p>
    <p>3. Bridge Contract with Threshold Cryptography: This innovative component enables seamless interoperability between different blockchain ecosystems through sophisticated threshold cryptography. By eliminating the traditional vulnerabilities of private key management while maintaining complete asset autonomy, Onta Network's implementation provides enterprise-grade security for cross-chain transactions.
</p>
<p>4. Bidirectional Oracle: The transaction layer incorporates a bidirectional oracle that enables seamless cross-chain verification and communication. This architectural innovation allows Onta Network to maintain consistent state information across multiple blockchain environments, creating a unified transaction layer despite the underlying technical diversity.
</p>
<b>Performance That Meets Commercial Requirements
</b>
<p>The defining characteristic of Onta Network's transaction layer is its exceptional performance profile. Unlike conventional blockchain implementations that struggle with throughput limitations, Onta Network delivers "blazing-fast finality, massive TPS, and seamless cross-chain verification" through its bidirectional oracle architecture.
</p>
<p>This performance isn't merely theoretical—it's engineered to satisfy the practical requirements of high-volume commercial environments:
</p>
<h3>Sub-Second Finality: Transactions reach definitive confirmation in under a second, providing the immediacy expected in conventional payment systems.
</h3>
<h3>Massive Transaction Throughput: The layer supports transaction volumes that dwarf traditional blockchain capabilities, ensuring scalability for enterprise-level operations.
</h3>
<h3>Minimal Transaction Costs: By optimizing the execution path and leveraging Solana's efficient consensus mechanism, the transaction layer maintains predictable and economical processing costs.
</h3>
<b>Integrated Compliance and Security
</b>
<h3>Security and compliance aren't afterthoughts in Onta Network's transaction layer—they're fundamental design considerations integrated into the core architecture:
</h3>
<h3>Sentinel Risk Engine: This component continuously monitors transaction patterns for suspicious activity, enabling proactive risk management without compromising transaction performance.
</h3>
<h3>Zero-Knowledge Proof Verification: The transaction layer implements a sophisticated ZKP verification system that enables compliance validation without exposing sensitive information, preserving privacy while satisfying regulatory requirements.
</h3>
<h3>KYT & Guardian Fund Pool: Know-Your-Transaction verification operates alongside a guardian fund pool that provides an additional layer of transaction security.
</h3>
<p>The implications extend beyond technical improvements—this transaction layer enables entirely new business models and payment flows that weren't previously possible. Merchants can now access the benefits of blockchain technology without sacrificing the performance, reliability, and simplicity they expect from traditional payment systems.
</p>
<p>As Onta Network continues refining and expanding this transaction layer, the vision of seamlessly connecting traditional commerce with the onchain economy moves closer to reality. Through purposeful engineering focused on commercial requirements rather than theoretical capabilities, Onta Network's transaction layer creates the essential foundation for the next evolution of global commerce.
</p>
    `
  },
  {
    id: 5,
    title: 'The Problem with Payments: Why Traditional Commerce Needs a Revolution',
    parentTitle: 'The Problem with Payments: Why Traditional Commerce Needs a Revolution',
    dummyText: 'Dummy Text',
    desc: `In an increasingly digitized global economy, the fundamental infrastructure of commerce—payments—remains surprisingly antiquated, inefficient, and fragmented. Despite technological advancements that have transformed nearly every aspect of business, the payment systems underpinning commercial transactions continue to impose significant friction that constrains economic growth and innovation.
`,
    time: '15:37, 13th May 2025',
    featured: 'Featured',
    content: `<b>The Geographic Fragmentation Problem</b>
    <p>Perhaps the most significant payment challenge is the extreme geographic fragmentation of payment methods. While North American consumers predominantly use credit cards, Chinese consumers prefer mobile payments through Alipay and WeChat Pay, Hong Kong consumers prefer PayMe or FPS the banking system, Latin American shoppers rely on local payment methods like PIX in Brazil, and European consumers often use bank transfers and real-time payment systems.
</p>
    <p>This fragmentation forces global merchants into an impossible choice: either integrate dozens of payment processors (creating enormous technical complexity and operational overhead) or abandon entire geographic markets and their potential customers.
</p>
<b>The Settlement Delay Dilemma
</b>
<p>Traditional payment infrastructure operates on settlement timelines designed for a pre-digital era. Card transactions typically require 2-3 business days for final settlement, while international transfers can take 3-5 days or longer. These delays create artificial cash flow constraints for businesses, particularly affecting small merchants with limited working capital.
</p>
<p>The absurdity of this situation becomes apparent when considering that the actual information transfer in digital payments occurs almost instantaneously, while the funds transfer remains trapped in legacy banking systems. This artificial delay between purchase and settlement creates financial friction that cascades throughout the economy.
</p>

<b>The Blockchain Promise and Reality Gap
</b>
<p>Blockchain technology initially promised to resolve these payment challenges through decentralized, borderless transactions. However, first-generation cryptocurrency solutions introduced their own friction: extreme price volatility, complex user experiences, limited merchant acceptance, and regulatory uncertainty.
</p>
<p>While the theoretical potential of blockchain to transform payments remains compelling, practical implementation has been constrained by these limitations—creating a significant gap between the promise and reality of blockchain-based payments.
</p>

<b>Bridging Traditional Commerce with the Onchain Economy
</b>
<p>The solution to these systemic payment challenges requires infrastructure that bridges traditional commerce with the emerging onchain economy. Onta Network is pioneering this approach by creating the payment infrastructure that combines the best elements of traditional payment systems (merchant familiarity, regulatory compliance, stable value) with the advantages of blockchain technology (instant settlement, global accessibility, reduced fees).
</p>
<p>By reducing friction for both merchants and consumers, this infrastructure enables a new growth paradigm where businesses can access global markets without navigating payment complexity, and consumers can seamlessly transact regardless of geographic location or preferred payment method.
</p>
<p>The future of commerce depends on solving these fundamental payment problems. As payment friction decreases, economic activity increases—creating growth opportunities that extend far beyond simple transaction processing. Onta Network is laying the foundation for the next evolution of global commerce. 
</p>
    `
  }
]

export const getBlogsDetail = (id) => {
  console.log('id', id)
  const data = mockDetailData.find((item) => item.id == id)
  return data
}

// FAQs

// 客户常见问题
const mockCustomersFAQs = [
  {
    title: 'How do I use OntaPay for payments?',
    desc: "Using Onta Network is simple: Scan the merchant's QR code at checkout, select your preferred wallet from the options shown, and approve the payment in your Onta Network wallet app. The payment confirms instantly, and you'll receive immediate notification when complete."
  },
  {
    title: 'Do I need to pay gas fees when using OntaPay?',
    desc: 'No. Onta Network completely eliminates gas fees for users. You only pay the exact amount shown for your purchase with no additional blockchain fees or hidden charges.'
  },
  {
    title: 'How is my privacy protected with Onta Network?',
    desc: 'Your personal information is protected using advanced zero-knowledge technology. This means your identity details are verified without being exposed during transactions. You control what information is shared, and sensitive data is never visible on the blockchain.'
  },
  {
    title: 'What happens if I lose my device? Will I lose my funds?',
    desc: "You won't lose your funds if you lose your device. Onta Network uses social login integration (like Google) along with biometric authentication (passkey). There are no seed phrases to memorize or store, your account can be recovered simply by logging in on a new device. Normally passkeys are synced automatically via phone's cloud storage like icloud so users wouldn't need to worry about losing their access. However, we do encourage them to link their wallet to multiple devices for enhanced security"
  },
  {
    title: 'Which types of wallets work with OntaPay?',
    desc: 'Onta Network works with Phantom Wallet. You can also use regular payment cards with our CardHash technology, which automatically creates a blockchain wallet linked to your card.'
  },
  {
    title: 'Can I use OntaPay in physical stores or just online?',
    desc: 'Both! Onta Network works in physical stores through tap-to-pay functionality on standard payment terminals and QR code scanning. It also works for online purchases with the same simple user experience.'
  },
  {
    title: 'Do I need to complete KYC to use OntaPay?',
    desc: "Yes, but it's a one-time process. After verification, you'll receive secure credentials that confirm your compliance status while keeping your personal information private during all future transactions."
  }
]
//  商户常见问题
const mockMerchantsFAQs = [
  {
    title: 'How does Onta Network integrate with my existing payment systems?',
    desc: 'Onta Network works with your standard POS terminals and payment systems with minimal changes. Our technology is compatible with your existing hardware through NFC and provides simple integration tools for both physical and online stores.'
  },
  {
    title: 'What are the fees for accepting payments through OntaPay?',
    desc: 'Onta Network significantly reduces transaction costs compared to traditional card networks by eliminating interchange fees. Exact fees vary by volume and region, but merchants can expect substantial savings over conventional payment methods.'
  },
  {
    title: 'How does Onta Network ensure regulatory compliance?',
    desc: 'Compliance is built directly into our system. Every transaction is automatically verified against regulations without requiring additional work from merchants. The system maintains complete auditability for regulatory purposes while protecting customer privacy.'
  },
  {
    title: 'How quickly will I receive funds from transactions?',
    desc: "You'll receive payment confirmation instantly, and funds will settle on a T+1 basis (next business day) through your existing acquirer, just like traditional card payments. All cryptocurrency is converted to your local currency automatically."
  },
  {
    title: "What's required to start accepting payments on OntaPay?",
    desc: 'Integration is straightforward through our simple developer tools. If you already accept card payments, adding Onta Network typically requires minimal technical resources. We provide region-specific integration kits that work with your existing payment setup.'
  },
  {
    title: 'Will my customers need to have cryptocurrency to pay with OntaPay?',
    desc: 'Yes, customers will need cryptocurrency in a supported Web3 wallet to make payments. However, our technology also allows customers with traditional payment cards to receive crypto rewards, helping them join the ecosystem through everyday purchases.'
  }
]

export const getFaqs = (type) => {
  if (type === 'customers') {
    return mockCustomersFAQs
  } else if (type === 'merchants') {
    return mockMerchantsFAQs
  }
}
